package com.itheima.Test2;

public class Demo {
    public static int count=100;
    static Object lock=new Object();

    public static void main(String[] args) {
        Xiaoming xiaoming = new Xiaoming();
        Thread t1 = new Thread(xiaoming,"小明");
        Thread t2 = new Thread(xiaoming,"小红");
        t2.start();
        t1.start();

    }
}
